package com.bosicloud.cmb.ibp.api.manager.commom.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DeleteApiParamVO {


    /**
     * apiId
     */
    @NotNull
    @NotBlank(message = "apiId 不能为空")
    String apiId;

    /**
     * awsApiId
     */
    @NotNull
    @NotBlank(message = "awsApiId 不能为空")
    String awsApiId;

    /**
     * userId
     */
    @NotNull
    @NotBlank(message = "userId 不能为空,并且只能是数字")
    String userId;

}
